hongjiuList={
    "message": {
        "goods_id": 101,
        "cat_id": 998,
        "goods_name": "法国原装进口红酒 布多格 优质红酒",
        "goods_price": 468,
        "goods_number": 100,
        "goods_weight": 30,
        "goods_introduce": "<div class=\"lazyimg\"><!-- Save for Web Slices (20170730关联模板.psd) -->\n<p><img data-src=\"http://localhost:8080/imgdetail/imghongjiu/D1.jpg\" alt=\"\" usemap=\"#Map\" border=\"0\" src=\"http://localhost:8080/imgdetail/imghongjiu/D1.jpg\" width=\"100%\" height=\"auto\"> </p>\n<!-- End Save for Web Slices --><p></p><p><img picsize=\"706KB\" data-src=\"http://localhost:8080/imgdetail/imghongjiu/D2.jpg\" alt=\"\" src=\"http://localhost:8080/imgdetail/imghongjiu/D2.jpg\" width=\"100%\" height=\"auto\"></p><p><img picsize=\"610KB\" data-src=\"http://localhost:8080/imgdetail/imghongjiu/D3.jpg\" alt=\"\" src=\"http://localhost:8080/imgdetail/imghongjiu/D3.jpg\" width=\"100%\" height=\"auto\"></p></div>",
        "goods_big_logo": "http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_800x800.jpg",
        "goods_small_logo": "http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_400x400.jpg",
        "goods_state": 2,
        "is_del": "0",
        "add_time": 1516662792,
        "upd_time": 1516662792,
        "delete_time": null,
        "hot_mumber": 0,
        "is_promote": false,
        "cat_one_id": 962,
        "cat_two_id": 981,
        "cat_three_id": 998,
        "goods_cat": "962,981,998",
        "pics": [
            {
                "pics_id": 234751,
                "goods_id": 101,
                "pics_big": "http://localhost:8080/imgdetail/imghongjiu/Head1.jpg", 
            },
            {
                "pics_big": "http://localhost:8080/imgdetail/imghongjiu/Head2.jpg",
            },
            {
                "pics_big": "http://localhost:8080/imgdetail/imghongjiu/Head3.jpg",
            },

        ],
        "attrs": [
            {
                "goods_id": 101,
                "attr_id": 8519,
                "attr_value": "400",
                "add_price": 0,
                "attr_name": "主体-型号",
                "attr_sel": "only",
                "attr_write": "manual",
                "attr_vals": "Q6"
            }
        ]
    },
    "meta": {
        "msg": "获取成功",
        "status": 200
    }
}

erjiList={
    "message": {
        "goods_id": 102,
        "cat_id": 998,
        "goods_name": "联想(Lenovo)拯救者原装 Star Y360 游戏耳机 头戴式电脑耳麦 专业电竞线控USB耳机耳麦 黑色 R9000P/R7000",
        "goods_price": 699,
        "goods_number": 100,
        "goods_weight": 30,
        "goods_introduce": "<div class=\"lazyimg\"><!-- Save for Web Slices (20170730关联模板.psd) -->\n<p><img data-src=\"http://localhost:8080/imgdetail/imgerji/D1.jpg\" alt=\"\" usemap=\"#Map\" border=\"0\" src=\"http://localhost:8080/imgdetail/imgerji/D1.jpg\" width=\"100%\" height=\"auto\"> </p>\n<!-- End Save for Web Slices --><p></p><p><img picsize=\"706KB\" data-src=\"http://localhost:8080/imgdetail/imgerji/D2.jpg\" alt=\"\" src=\"http://localhost:8080/imgdetail/imgerji/D2.jpg\" width=\"100%\" height=\"auto\"></p><p><img picsize=\"610KB\" data-src=\"http://localhost:8080/imgdetail/imgerji/D3.jpg\" alt=\"\" src=\"http://localhost:8080/imgdetail/imgerji/D3.jpg\" width=\"100%\" height=\"auto\"></p></div>",
        "goods_big_logo": "http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_800x800.jpg",
        "goods_small_logo": "http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_400x400.jpg",
        "goods_state": 2,
        "is_del": "0",
        "add_time": 1516662792,
        "upd_time": 1516662792,
        "delete_time": null,
        "hot_mumber": 0,
        "is_promote": false,
        "cat_one_id": 962,
        "cat_two_id": 981,
        "cat_three_id": 998,
        "goods_cat": "962,981,998",
        "pics": [
            {
                "pics_id": 234751,
                "goods_id": 102,
                "pics_big": "http://localhost:8080/imgdetail/imgerji/H1.jpg", 
            },
            {
                "pics_big": "http://localhost:8080/imgdetail/imgerji/H2.jpg",
            },
            

        ],
        "attrs": [
            {
                "goods_id": 102,
                "attr_id": 8519,
                "attr_value": "400",
                "add_price": 0,
                "attr_name": "主体-型号",
                "attr_sel": "only",
                "attr_write": "manual",
                "attr_vals": "Q6"
            }
        ]
    },
    "meta": {
        "msg": "获取成功",
        "status": 200
    }
},
jianpanList={
    "message": {
        "goods_id": 103,
        "cat_id": 998,
        "goods_name": "黑峡谷（Hyeku）X3 有线/无线2.4G双模机械键盘 87键PBT键帽 凯华BOX新轴 龙舌兰日出 天空蓝轴 附卡扣腕托",
        "goods_price": 369,
        "goods_number": 100,
        "goods_weight": 30,
        "goods_introduce": "<div class=\"lazyimg\"><!-- Save for Web Slices (20170730关联模板.psd) -->\n<p><img data-src=\"http://localhost:8080/imgdetail/imgjianpan/D1.jpg\" alt=\"\" usemap=\"#Map\" border=\"0\" src=\"http://localhost:8080/imgdetail/imgjianpan/D1.jpg\" width=\"100%\" height=\"auto\"> </p>\n<!-- End Save for Web Slices --><p></p><p><img picsize=\"706KB\" data-src=\"http://localhost:8080/imgdetail/imgjianpan/D2.jpg\" alt=\"\" src=\"http://localhost:8080/imgdetail/imgjianpan/D2.jpg\" width=\"100%\" height=\"auto\"></p><p><img picsize=\"610KB\" data-src=\"http://localhost:8080/imgdetail/imgjianpan/D3.jpg\" alt=\"\" src=\"http://localhost:8080/imgdetail/imgjianpan/D3.jpg\" width=\"100%\" height=\"auto\"></p></div>",
        "goods_big_logo": "http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_800x800.jpg",
        "goods_small_logo": "http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_400x400.jpg",
        "goods_state": 2,
        "is_del": "0",
        "add_time": 1516662792,
        "upd_time": 1516662792,
        "delete_time": null,
        "hot_mumber": 0,
        "is_promote": false,
        "cat_one_id": 962,
        "cat_two_id": 981,
        "cat_three_id": 998,
        "goods_cat": "962,981,998",
        "pics": [
            {
                "pics_id": 234751,
                "goods_id": 102,
                "pics_big": "http://localhost:8080/imgdetail/imgjianpan/H1.jpg", 
            },
            {
                "pics_big": "http://localhost:8080/imgdetail/imgjianpan/H2.jpg",
            },
            {
                "pics_big": "http://localhost:8080/imgdetail/imgjianpan/H3.jpg",
            },
            

        ],
        "attrs": [
            {
                "goods_id": 102,
                "attr_id": 8519,
                "attr_value": "400",
                "add_price": 0,
                "attr_name": "主体-型号",
                "attr_sel": "only",
                "attr_write": "manual",
                "attr_vals": "Q6"
            }
        ]
    },
    "meta": {
        "msg": "获取成功",
        "status": 200
    }
},
shubiaoList={
    "message": {
        "goods_id": 104,
        "cat_id": 998,
        "goods_name": "罗技（G）G502 HERO主宰者有线鼠标 游戏鼠标 HERO引擎 RGB鼠标 电竞鼠标 25600DPI",
        "goods_price": 109,
        "goods_number": 100,
        "goods_weight": 30,
        "goods_introduce": "<div class=\"lazyimg\"><!-- Save for Web Slices (20170730关联模板.psd) -->\n<p><img data-src=\"http://localhost:8080/imgdetail/imgshubiao/D1.jpg\" alt=\"\" usemap=\"#Map\" border=\"0\" src=\"http://localhost:8080/imgdetail/imgshubiao/D1.jpg\" width=\"100%\" height=\"auto\"> </p>\n<!-- End Save for Web Slices --><p></p><p><img picsize=\"706KB\" data-src=\"http://localhost:8080/imgdetail/imgshubiao/D2.jpg\" alt=\"\" src=\"http://localhost:8080/imgdetail/imgshubiao/D2.jpg\" width=\"100%\" height=\"auto\"></p><p><img picsize=\"610KB\" data-src=\"http://localhost:8080/imgdetail/imgshubiao/D3.jpg\" alt=\"\" src=\"http://localhost:8080/imgdetail/imgshubiao/D3.jpg\" width=\"100%\" height=\"auto\"></p></div>",
        "goods_big_logo": "http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_800x800.jpg",
        "goods_small_logo": "http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_400x400.jpg",
        "goods_state": 2,
        "is_del": "0",
        "add_time": 1516662792,
        "upd_time": 1516662792,
        "delete_time": null,
        "hot_mumber": 0,
        "is_promote": false,
        "cat_one_id": 962,
        "cat_two_id": 981,
        "cat_three_id": 998,
        "goods_cat": "962,981,998",
        "pics": [
            {
                "pics_id": 234751,
                "goods_id": 104,
                "pics_big": "http://localhost:8080/imgdetail/imgshubiao/H1.jpg", 
            },
            {
                "pics_big": "http://localhost:8080/imgdetail/imgshubiao/H2.jpg",
            },
               
        ],
        "attrs": [
            {
                "goods_id": 102,
                "attr_id": 8519,
                "attr_value": "400",
                "add_price": 0,
                "attr_name": "主体-型号",
                "attr_sel": "only",
                "attr_write": "manual",
                "attr_vals": "Q6"
            }
        ]
    },
    "meta": {
        "msg": "获取成功",
        "status": 200
    }
},

shoujiList={
    "message": {
        "goods_id": 57000,
        "cat_id": 998,
        "goods_name": "Redmi K40游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 12GB+256GB 暗影 游戏电竞智能5G手机 小米 红米",
        "goods_price": 2199,
        "goods_number": 100,
        "goods_weight": 30,
        "goods_introduce": "<div class=\"lazyimg\"><!-- Save for Web Slices (20170730关联模板.psd) -->\n<p><img data-src=\"http://localhost:8080/imgdetail/imgshouji/D1.jpg\" alt=\"\" usemap=\"#Map\" border=\"0\" src=\"http://localhost:8080/imgdetail/imgshouji/D1.jpg\" width=\"100%\" height=\"auto\"> </p>\n<!-- End Save for Web Slices --><p></p><p><img picsize=\"706KB\" data-src=\"http://localhost:8080/imgdetail/imgshouji/D2.jpg\" alt=\"\" src=\"http://localhost:8080/imgdetail/imgshouji/D2.jpg\" width=\"100%\" height=\"auto\"></p><p><img picsize=\"610KB\" data-src=\"http://localhost:8080/imgdetail/imgshouji/D3.jpg\" alt=\"\" src=\"http://localhost:8080/imgdetail/imgshouji/D3.jpg\" width=\"100%\" height=\"auto\"></p></div>",
        "goods_big_logo": "http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_800x800.jpg",
        "goods_small_logo": "http://image4.suning.cn/uimg/b2c/newcatentries/0070083251-000000000168369396_1_400x400.jpg",
        "goods_state": 2,
        "is_del": "0",
        "add_time": 1516662792,
        "upd_time": 1516662792,
        "delete_time": null,
        "hot_mumber": 0,
        "is_promote": false,
        "cat_one_id": 962,
        "cat_two_id": 981,
        "cat_three_id": 998,
        "goods_cat": "962,981,998",
        "pics": [
            {
                "pics_id": 234751,
                "goods_id": 104,
                "pics_big": "http://localhost:8080/imgdetail/imgshouji/H1.jpg", 
            },
            {
                "pics_big": "http://localhost:8080/imgdetail/imgshouji/H2.jpg",
            },
            {
                "pics_big": "http://localhost:8080/imgdetail/imgshouji/H3.jpg",
            },
            {
                "pics_big": "http://localhost:8080/imgdetail/imgshouji/H4.jpg",
            },
               
        ],
        "attrs": [
            {
                "goods_id": 102,
                "attr_id": 8519,
                "attr_value": "400",
                "add_price": 0,
                "attr_name": "主体-型号",
                "attr_sel": "only",
                "attr_write": "manual",
                "attr_vals": "Q6"
            }
        ]
    },
    "meta": {
        "msg": "获取成功",
        "status": 200
    }
},


exports.goodsdetail = (req,res)=>{
    /* console.log(req.query.goods_id); */
    if(req.query.goods_id==101){
       res.send(hongjiuList) 
    }
    if(req.query.goods_id==102){
        res.send(erjiList)
    }
    if(req.query.goods_id==103 || req.query.goods_id==129){
        res.send(jianpanList)
    }
    if(req.query.goods_id==104){
        res.send(shubiaoList)
    }
    if(req.query.goods_id==57000){
        res.send(shoujiList)
    }
    
}